package com.bmw.scene1.controller;

import com.bmw.scene1.service.OrderInfoBakService;
import com.bmw.scene1.util.bean.BaseResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Classname: OrderInfoBakController
 * Package: com.bmw.scene1.controller
 * Description:
 *
 * @Author 余集楠
 * @Create 2024/6/21 0021 16:47
 * @Version 1.8
 */
@RestController
@Slf4j
@RequestMapping(value="order")
public class OrderInfoBakController {
    @Autowired
    OrderInfoBakService orderInfoBakService;

    @RequestMapping(value="/transfer")
    public BaseResponse<Boolean>transfer(){
        return BaseResponse.ok(orderInfoBakService.transfer());
    }

    @RequestMapping(value="/transferExpand")
    public BaseResponse<Boolean>transferExpand(){
        return BaseResponse.ok(orderInfoBakService.transferExpand());
    }
}
